package com.hr.rbac.domain;

import java.util.List;

/**
 * 权限Bean
 * @author 杨谦
 * @date 2015-11-3
 *
 */
public class Privilege {
	
	private String privilege_id;
	private String privilege_name;
	private List<Function> functions;
	private String role_id;
	
	public String getPrivilege_id() {
		return privilege_id;
	}
	public void setPrivilege_id(String privilege_id) {
		this.privilege_id = privilege_id;
	}
	public String getPrivilege_name() {
		return privilege_name;
	}
	public void setPrivilege_name(String privilege_name) {
		this.privilege_name = privilege_name;
	}
	
	public List<Function> getFunctions() {
		return functions;
	}
	public void setFunctions(List<Function> functions) {
		this.functions = functions;
	}
	public String getRole_id() {
		return role_id;
	}
	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}
	@Override
	public String toString() {
		return "Privilege [privilege_id=" + privilege_id + ", privilege_name="
				+ privilege_name + ", functions=" + functions + ", role_id="
				+ role_id + "]";
	}
}
